import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { Case1Component } from './case1/case1.component';
import { Case2Component } from './case2/case2.component';

const routes: Routes = [
  { path: 'case1', component: Case1Component },
  { path: 'case2', component: Case2Component }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class CaseRoutingModule { }
